<?php
class WechatAppController extends AppController {

	public function beforeFilter(){
		parent::beforeFilter();
		if($this->layout == 'admin')
			$this->layout = 'wxadmin';
	}
}